package com.ruoyi.restaurant.service;

import java.util.List;
import com.ruoyi.restaurant.domain.RestDishPurchase;

/**
 * 菜品采购Service接口
 * 
 * @author ruoyi
 * @date 2024-12-29
 */
public interface IRestDishPurchaseService 
{
    /**
     * 查询菜品采购
     * 
     * @param id 菜品采购主键
     * @return 菜品采购
     */
    public RestDishPurchase selectRestDishPurchaseById(Long id);

    /**
     * 查询菜品采购列表
     * 
     * @param restDishPurchase 菜品采购
     * @return 菜品采购集合
     */
    public List<RestDishPurchase> selectRestDishPurchaseList(RestDishPurchase restDishPurchase);

    /**
     * 新增菜品采购
     * 
     * @param restDishPurchase 菜品采购
     * @return 结果
     */
    public int insertRestDishPurchase(RestDishPurchase restDishPurchase);

    /**
     * 修改菜品采购
     * 
     * @param restDishPurchase 菜品采购
     * @return 结果
     */
    public int updateRestDishPurchase(RestDishPurchase restDishPurchase);

    /**
     * 批量删除菜品采购
     * 
     * @param ids 需要删除的菜品采购主键集合
     * @return 结果
     */
    public int deleteRestDishPurchaseByIds(Long[] ids);

    /**
     * 删除菜品采购信息
     * 
     * @param id 菜品采购主键
     * @return 结果
     */
    public int deleteRestDishPurchaseById(Long id);
}
